// 热门区域数据引入
$(function(){
    $.each(allData.remenb,function(i,v){
        var str;
            str = `
            <li>
            <div data-id="${v.id}">
            <a href=""><img src="${v.reImag}" width="159px" height="159px" alt=""></a>
            </div>
            <div class="price">¥${v.yuanPrice}</div>
            <div class="wenzi">
            <a href="">${v.title}</a>
            </div>
            <div class="wenzi1">查看详情</div>
            </li>
            `;
            $(".remenb ul").append(str);
        })
})
// 厨房电器数据引入
//电饭煲里面的第一个大图片和后面的六张小图片
$(function(){
    $.each(allData.chufang12,function(i,v){
        var str,str2;
        if(v.id==40007){
            str = `
            <li class="chufang13" data-id="${v.id}">
                <div class="chufang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="chufang15">
                    <div class="chufang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="chufang17">
                        <div class="chufang18">¥${v.yuanPrice}</div>
                        <div class="chufang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            if(v.id>=40008&&v.id<=40013){
            str2 = `
            <li class="chufang20" data-id="${v.id}">
                <div>
                <a href=""><img src="${v.reImag}" width="143px" height="143px" alt=""></a>
                </div>
                <div class="chufang28">
                <a href="">${v.title}</a>
                </div>
                <div class="chufang29">¥${v.yuanPrice}</div>
            </li>
            `;
            }
            $(".chufang12 .chufang30").append(str);
            $(".chufang12 .chufang30").append(str2);
        })
})
//厨房电器里面的豆浆机里面的大图片
$(function(){
    $.each(allData.chufang12,function(i,v){
        var str;
        if(v.id==40014){
            str = `
            <li class="chufang13" data-id="${v.id}">
                <div class="chufang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="chufang15">
                    <div class="chufang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="chufang17">
                        <div class="chufang18">¥${v.yuanPrice}</div>
                        <div class="chufang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            $(".chufang12 .chufang32").append(str);
        })
})
//厨房电器里面的面包机里面的大图片
$(function(){
    $.each(allData.chufang12,function(i,v){
        var str;
        if(v.id==40015){
            str = `
            <li class="chufang13" data-id="${v.id}">
                <div class="chufang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="chufang15">
                    <div class="chufang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="chufang17">
                        <div class="chufang18">¥${v.yuanPrice}</div>
                        <div class="chufang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            $(".chufang12 .chufang33").append(str);
        })
})
//厨房电器里面的咖啡机里面的大图片
$(function(){
    $.each(allData.chufang12,function(i,v){
        var str;
        if(v.id==40016){
            str = `
            <li class="chufang13" data-id="${v.id}">
                <div class="chufang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="chufang15">
                    <div class="chufang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="chufang17">
                        <div class="chufang18">¥${v.yuanPrice}</div>
                        <div class="chufang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            $(".chufang12 .chufang34").append(str);
        })
})
// 大家电数据引入
//大家电平板电视里面的第一个大图片和后面的六张小图片
$(function(){
    $.each(allData.dajiadian12,function(i,v){
        var str,str2;
        if(v.id==40017){
            str = `
            <li class="dajiadian13" data-id="${v.id}">
                <div class="dajiadian14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="dajiadian15">
                    <div class="dajiadian16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="dajiadian17">
                        <div class="dajiadian18">¥${v.yuanPrice}</div>
                        <div class="dajiadian19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            if(v.id>=40018&&v.id<=40022){
            str2 = `
            <li class="dajiadian20" data-id="${v.id}">
                <div>
                <a href=""><img src="${v.reImag}" width="143px" height="143px" alt=""></a>
                </div>
                <div class="dajiadian28">
                <a href="">${v.title}</a>
                </div>
                <div class="dajiadian29">¥${v.yuanPrice}</div>
            </li>
            `;
            }
            $(".dajiadian12 .dajiadian30").append(str);
            $(".dajiadian12 .dajiadian30").append(str2);
        })
})
//大家电里面的空调里面的大图片
$(function(){
    $.each(allData.dajiadian12,function(i,v){
        var str;
        if(v.id==40023){
            str = `
            <li class="dajiadian13" data-id="${v.id}">
                <div class="dajiadian14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="dajiadian15">
                    <div class="dajiadian16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="dajiadian17">
                        <div class="dajiadian18">¥${v.yuanPrice}</div>
                        <div class="dajiadian19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            $(".dajiadian12 .dajiadian31").append(str);
        })
})
//大家电里面的冰箱里面的大图片
$(function(){
    $.each(allData.dajiadian12,function(i,v){
        var str;
        if(v.id==40024){
            str = `
            <li class="dajiadian13" data-id="${v.id}">
                <div class="dajiadian14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="dajiadian15">
                    <div class="dajiadian16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="dajiadian17">
                        <div class="dajiadian18">¥${v.yuanPrice}</div>
                        <div class="dajiadian19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            $(".dajiadian12 .dajiadian32").append(str);
        })
})
//大家电里面的洗衣机里面的大图片
$(function(){
    $.each(allData.dajiadian12,function(i,v){
        var str,str2;
        if(v.id==40025){
            str = `
            <li class="dajiadian13" data-id="${v.id}">
                <div class="dajiadian14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="dajiadian15">
                    <div class="dajiadian16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="dajiadian17">
                        <div class="dajiadian18">¥${v.yuanPrice}</div>
                        <div class="dajiadian19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
        }
        if(v.id==40026){
            str2 = `
            <li class="dajiadian20" data-id="${v.id}">
                <div>
                <a href=""><img src="${v.reImag}" width="143px" height="143px" alt=""></a>
                </div>
                <div class="dajiadian28">
                <a href="">${v.title}</a>
                </div>
                <div class="dajiadian29">¥${v.yuanPrice}</div>
            </li>
            `;
        }
            $(".dajiadian12 .dajiadian33").append(str);
            $(".dajiadian12 .dajiadian33").append(str2);
        })
})
// 个护健康数据引入
//个护健康按摩椅里面的第一个大图片和后面的六张小图片
$(function(){
    $.each(allData.gehujiankang12,function(i,v){
        var str,str2;
        if(v.id==40027){
            str = `
            <li class="gehujiankang13" data-id="${v.id}">
                <div class="gehujiankang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="gehujiankang15">
                    <div class="gehujiankang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="gehujiankang17">
                        <div class="gehujiankang18">¥${v.yuanPrice}</div>
                        <div class="gehujiankang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            if(v.id>=40028&&v.id<=40033){
            str2 = `
            <li class="gehujiankang20" data-id="${v.id}">
                <div>
                <a href=""><img src="${v.reImag}" width="143px" height="143px" alt=""></a>
                </div>
                <div class="gehujiankang28">
                <a href="">${v.title}</a>
                </div>
                <div class="gehujiankang29">¥${v.yuanPrice}</div>
            </li>
            `;
            }
            $(".gehujiankang12 .gehujiankang30").append(str);
            $(".gehujiankang12 .gehujiankang30").append(str2);
        })
})
//个护健康里面的剃须刀里面的大图片
$(function(){
    $.each(allData.gehujiankang12,function(i,v){
        var str;
        if(v.id==40034){
            str = `
            <li class="gehujiankang13" data-id="${v.id}">
                <div class="gehujiankang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="gehujiankang15">
                    <div class="gehujiankang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="gehujiankang17">
                        <div class="gehujiankang18">¥${v.yuanPrice}</div>
                        <div class="gehujiankang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            $(".gehujiankang12 .gehujiankang31").append(str);
        })
})
//个护健康里面的脱毛器里面的大图片
$(function(){
    $.each(allData.gehujiankang12,function(i,v){
        var str;
        if(v.id==40035){
            str = `
            <li class="gehujiankang13" data-id="${v.id}">
                <div class="gehujiankang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="gehujiankang15">
                    <div class="gehujiankang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="gehujiankang17">
                        <div class="gehujiankang18">¥${v.yuanPrice}</div>
                        <div class="gehujiankang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            $(".gehujiankang12 .gehujiankang32").append(str);
        })
})
//个护健康里面的口腔护理里面的大图片
$(function(){
    $.each(allData.gehujiankang12,function(i,v){
        var str;
        if(v.id==40036){
            str = `
            <li class="gehujiankang13" data-id="${v.id}">
                <div class="gehujiankang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="gehujiankang15">
                    <div class="gehujiankang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="gehujiankang17">
                        <div class="gehujiankang18">¥${v.yuanPrice}</div>
                        <div class="gehujiankang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
        }
            $(".gehujiankang12 .gehujiankang33").append(str);
        })
})
//个护健康里面的理发器里面的大图片
$(function(){
    $.each(allData.gehujiankang12,function(i,v){
        var str;
        if(v.id==40037){
            str = `
            <li class="gehujiankang13" data-id="${v.id}">
                <div class="gehujiankang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="gehujiankang15">
                    <div class="gehujiankang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="gehujiankang17">
                        <div class="gehujiankang18">¥${v.yuanPrice}</div>
                        <div class="gehujiankang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
        }
            $(".gehujiankang12 .gehujiankang34").append(str);
        })
})
// 五金家装数据引入
//五金家装电动工具里面的第一个大图片和后面的六张小图片
$(function(){
    $.each(allData.wujinjiazhuang12,function(i,v){
        var str,str2;
        if(v.id==40038){
            str = `
            <li class="wujinjiazhuang13" data-id="${v.id}">
                <div class="wujinjiazhuang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="wujinjiazhuang15">
                    <div class="wujinjiazhuang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="wujinjiazhuang17">
                        <div class="wujinjiazhuang18">¥${v.yuanPrice}</div>
                        <div class="wujinjiazhuang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            if(v.id>=40039&&v.id<=40044){
            str2 = `
            <li class="wujinjiazhuang20" data-id="${v.id}">
                <div>
                <a href=""><img src="${v.reImag}" width="143px" height="143px" alt=""></a>
                </div>
                <div class="wujinjiazhuang28">
                <a href="">${v.title}</a>
                </div>
                <div class="wujinjiazhuang29">¥${v.yuanPrice}</div>
            </li>
            `;
            }
            $(".wujinjiazhuang12 .wujinjiazhuang30").append(str);
            $(".wujinjiazhuang12 .wujinjiazhuang30").append(str2);
        })
})
//五金家装里面的仪表里面的大图片
$(function(){
    $.each(allData.wujinjiazhuang12,function(i,v){
        var str;
        if(v.id==40045){
            str = `
            <li class="wujinjiazhuang13" data-id="${v.id}">
                <div class="wujinjiazhuang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="wujinjiazhuang15">
                    <div class="wujinjiazhuang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="wujinjiazhuang17">
                        <div class="wujinjiazhuang18">¥${v.yuanPrice}</div>
                        <div class="wujinjiazhuang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            $(".wujinjiazhuang12 .wujinjiazhuang31").append(str);
        })
})
//五金家装里面的水槽里面的大图片
$(function(){
    $.each(allData.wujinjiazhuang12,function(i,v){
        var str;
        if(v.id==40046){
            str = `
            <li class="wujinjiazhuang13" data-id="${v.id}">
                <div class="wujinjiazhuang14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="wujinjiazhuang15">
                    <div class="wujinjiazhuang16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="wujinjiazhuang17">
                        <div class="wujinjiazhuang18">¥${v.yuanPrice}</div>
                        <div class="wujinjiazhuang19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            $(".wujinjiazhuang12 .wujinjiazhuang32").append(str);
        })
})
// 生活电器数据引入
//生活电器电风扇里面的第一个大图片和后面的六张小图片
$(function(){
    $.each(allData.shenghuodianqi12,function(i,v){
        var str,str2;
        if(v.id==40047){
            str = `
            <li class="shenghuodianqi13" data-id="${v.id}">
                <div class="shenghuodianqi14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="shenghuodianqi15">
                    <div class="shenghuodianqi16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="shenghuodianqi17">
                        <div class="shenghuodianqi18">¥${v.yuanPrice}</div>
                        <div class="shenghuodianqi19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            if(v.id>=40048&&v.id<=40053){
            str2 = `
            <li class="shenghuodianqi20" data-id="${v.id}">
                <div>
                <a href=""><img src="${v.reImag}" width="143px" height="143px" alt=""></a>
                </div>
                <div class="shenghuodianqi28">
                <a href="">${v.title}</a>
                </div>
                <div class="shenghuodianqi29">¥${v.yuanPrice}</div>
            </li>
            `;
            }
            $(".shenghuodianqi12 .shenghuodianqi30").append(str);
            $(".shenghuodianqi12 .shenghuodianqi30").append(str2);
        })
})
//生活电器里面的冷风扇里面的大图片
$(function(){
    $.each(allData.shenghuodianqi12,function(i,v){
        var str;
        if(v.id==40054){
            str = `
            <li class="shenghuodianqi13" data-id="${v.id}">
                <div class="shenghuodianqi14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="shenghuodianqi15">
                    <div class="shenghuodianqi16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="shenghuodianqi17">
                        <div class="shenghuodianqi18">¥${v.yuanPrice}</div>
                        <div class="shenghuodianqi19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            $(".shenghuodianqi12 .shenghuodianqi31").append(str);
        })
})
//生活电器里面的加湿器里面的大图片
$(function(){
    $.each(allData.shenghuodianqi12,function(i,v){
        var str,str2;
        if(v.id==40055){
            str = `
            <li class="shenghuodianqi13" data-id="${v.id}">
                <div class="shenghuodianqi14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="shenghuodianqi15">
                    <div class="shenghuodianqi16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="shenghuodianqi17">
                        <div class="shenghuodianqi18">¥${v.yuanPrice}
                        </div>
                        <div class="shenghuodianqi19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
            }
            if(v.id>=40056&&v.id<=40061){
            str2 = `
            <li class="shenghuodianqi20" data-id="${v.id}">
                <div>
                <a href=""><img src="${v.reImag}" width="143px" height="143px" alt=""></a>
                </div>
                <div class="shenghuodianqi28">
                <a href="">${v.title}</a>
                </div>
                <div class="shenghuodianqi29">¥${v.yuanPrice}
                </div>
            </li>
            `;
            }
            $(".shenghuodianqi12 .shenghuodianqi33").append(str);
            $(".shenghuodianqi12 .shenghuodianqi33").append(str2);
        })
})
//生活电器里面的扫地机器人里面的大图片
$(function(){
    $.each(allData.shenghuodianqi12,function(i,v){
        var str;
        if(v.id==400611){
            str = `
            <li class="shenghuodianqi13" data-id="${v.id}">
                <div class="shenghuodianqi14">
                <a href=""><img src="${v.reImag}" width="280px" height="280px" alt=""></a>
                </div>
                <div class="shenghuodianqi15">
                    <div class="shenghuodianqi16">
                    <a href="">${v.title}</a>
                    </div>
                    <div class="shenghuodianqi17">
                        <div class="shenghuodianqi18">¥${v.yuanPrice}
                        </div>
                        <div class="shenghuodianqi19">查看详情</div>
                    </div>
                </div>
            </li>
            `;
        }
            $(".shenghuodianqi12 .shenghuodianqi34").append(str);
        })
})
//随手购里面的18张图片的数据引入
$(function(){
    $.each(allData.shuishougou3,function(i,v){
        var str,str2,str3;
        if(v.id>=40062&&v.id<=40067){
        str = `
        <div>
        <div class="suishougou4" data-id="${v.id}">
        <a href=""><img src="${v.reImag}" width="158px" height="158px" alt=""></a>    
        </div>
        <div class="suishougou5">¥${v.yuanPrice}
        </div>
        <div class="suishougou6">
        <a href="">${v.title}</a>
        </div>
        <div class="suishougou7">查看详情</div>
        </div>
        `;
        }
        if(v.id>=40068&&v.id<=40073){
            str2 = `
            <div>
            <div class="suishougou4" data-id="${v.id}">
            <a href=""><img src="${v.reImag}" width="158px" height="158px" alt=""></a>    
            </div>
            <div class="suishougou5">¥${v.yuanPrice}
            </div>
            <div class="suishougou6">
            <a href="">${v.title}</a>
            </div>
            <div class="suishougou7">查看详情</div>
            </div>
            `;
            }
        if(v.id>=40074&&v.id<=40079){
            str3 = `
            <div>
            <div class="suishougou4" data-id="${v.id}">
            <a href=""><img src="${v.reImag}" width="158px" height="158px" alt=""></a>    
            </div>
            <div class="suishougou5">¥${v.yuanPrice}
            </div>
            <div class="suishougou6">
            <a href="">${v.title}</a>
            </div>
            <div class="suishougou7">查看详情</div>
            </div>
            `;
            }
        $('.flder1').append(str);
        $('.flder2').append(str2);
        $('.flder3').append(str3);
    })
})